package com.vastcom.springbootangular5.service;

import com.vastcom.springbootangular5.model.User;
import com.vastcom.springbootangular5.model.UserRequest;

import java.util.List;

public interface UserService {
    void resetCredentials();

    User findById(Long id);
    User findByUsername(String username);
    List<User> findAll();
    User save(UserRequest user);
}
